from peewee import *
from ..database import database, TABLE_PREFIX


class Country(database.Model):
    id = CharField(db_column='id', primary_key=True, max_length=80)
    screen_name = CharField(db_column='screen_name', max_length=100)
    logo = CharField(db_column='logo', help_text='国家标识', max_length=200)

    # class Meta:
    #     db_table = '{}_{}'.format(TABLE_PREFIX, 'countries')
